package io.gitee.kenewstar.dbmq;

import java.util.Date;

/**
 * @author kenewstar
 */
public class ConsumerRegisterInfo {

    public static final String TOPIC = "topic";
    public static final String IP = "ip";
    public static final String UUID = "uuid";
    public static final String CONSUME_COUNT = "consumeCount";
    public static final String HEARTBEAT_TIME = "heartbeatTime";
    public static final String VERSION = "version";
    public static final String STATUS = "status";


    private Long id;
    private String topic;
    private String ip;
    private String uuid;
    private Long consumeCount;
    private Date heartbeatTime;
    private Long version;
    private String status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Long getConsumeCount() {
        return consumeCount;
    }

    public void setConsumeCount(Long consumeCount) {
        this.consumeCount = consumeCount;
    }

    public Date getHeartbeatTime() {
        return heartbeatTime;
    }

    public void setHeartbeatTime(Date heartbeatTime) {
        this.heartbeatTime = heartbeatTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
